| GUI Help > Special > setButtonImage | ||||||||||||||
|
setButtonImage |
||||||||||||||
| setButtonImage [handle gadget, str fileName] | [handle gadget, int imageIndex] | ||||||||||||||
|
Description: Sets the image which appears on the face of a button. This can either be an image from a bitmap file, or an image already loaded into DBPro using LOAD IMAGE or GET IMAGE. For a panel or label gadget use setPanelImage instead. Please read the paramter descriptions below carefully, there are some important notes which you need to know in order to use this command. |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |